//
//  FirCustomCell.m
//  project_delicious
//
//  Created by dlios on 15-3-23.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "FirCustomCell.h"

@implementation FirCustomCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)];
        [self addSubview:self.myImageView];
        [_myImageView release];
        self.label = [[UILabel alloc] initWithFrame:CGRectMake(50, 0, 100, 40)];
        [self addSubview:self.label];
        [_label release];
        
        for (NSInteger i = 0; i < 3; i++) {
            self.myPicImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0 + 110 * i, 50, 100, 70)];
            [self addSubview:self.myPicImageView];
            [_myImageView release];
            self.picLabel = [[UILabel alloc] initWithFrame:CGRectMake(20 + 100 * i, 120, 80, 20)];
            
        }
        
        self.userInteractionEnabled = YES;
    }
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
